package com.tacuati.content;

import javax.swing.ImageIcon;

import com.tacuati.ui.Icons;

public class OrphanItem extends Item {
	public OrphanItem(String hash) {
		super("");
		this.setHash(hash);
		this.setTitle(hash);
		this.setFormat(null);
	}

	@Override
	public String toJson() {
		String json = "";
		json += "\"" + getHash() + "\"";
		return json;
	}

	@Override
	public Item copy() {
		return new OrphanItem(this.getHash());
	}
	
	@Override
	public ImageIcon getIcon() {
		return Icons.orphanIcon;
	}
}
